<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8">
        <title>login</title>
        <link rel="stylesheet" href="/css/login.css">
    </head>
    <body>
        <div class="container">
            <form action="/login/doRegister" method="post">  
                <!-- /login/doRegister   -->
                <!-- <div class="content1">
                <a href="/login" class="login">已有账户，登录</a>
            </div> -->
                <h2>住户注册(User)</h2>
                <h4><a href="/login/registerA">切换至管理员注册</a></h4>
                <input type="text" name="name" id="UserName" placeholder="用户名" required="required" >
                <input type="password" name="password" id="PassWord" placeholder="密码" required="required" >
                <input type="text" name="building" id="building" placeholder="宿舍楼号" required="required" >
                <input type="text" name="door" id="door" placeholder="宿舍门牌号" required="required" >
                <input type="text" name="email" id="Email" placeholder="电子邮箱" >
                <input type="submit" value="注册" id="Login">
            
            </form>
            <!-- <form action="/login/doRegisterA" method="post">
                <h2>管理员注册(Admin)</h2>
                <input type="text" name="nameA" id="UserName" placeholder="管理员用户名">
                <input type="password" name="passwordA" id="PassWord" placeholder="密码">
                <input type="text" name="emailA" id="AdminEmail" placeholder="电子邮箱">
                <input type="submit" value="注册" id="Login">
            </form> -->
        </div>
    </body>
</html>